package guda.house.dal.dao;

import guda.house.dal.dataobject.AccountEstateDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface AccountEstateDAO {


    Long insert(AccountEstateDO accountEstate);


    AccountEstateDO getAccountEstateById(Long accountId);


    boolean delAccountEstateById(Long accountId);

    List<AccountEstateDO> getAccountEstateByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long accountId);

    List<AccountEstateDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(AccountEstateDO accountEstate);

    Long stat(List<Long> suitIdList,String gmtDate,String accountType);

}
